package com.ji.user.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Auther: jiliugang
 * @Date: 2020/6/22 15:25
 * @Description:
 */
@RestController
@RequestMapping("user")
public class UserController {
    @Value("${server.port}")
    private int port;
    @RequestMapping("hi")
    public String hi(){
        return "hi!!!   i am "+ port;
    }
}
